<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/9/22
  Time: 16:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>字典明细管理</title>
    <%@include file="/WEB-INF/views/common/link.jsp"%>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <%@include file="/WEB-INF/views/common/navbar.jsp" %>
    <!--菜单回显-->
    <c:set var="currentMenu" value="systemDictionaryItem"/>
    <%@include file="/WEB-INF/views/common/menu.jsp" %>
    <div class="content-wrapper">
        <section class="content-header">
            <h1>字典目录编辑</h1>
        </section>
        <section class="content">
            <div class="box">
                <form class="form-horizontal" action="/systemDictionaryItem/saveOrUpdate.do" method="post" id="editForm">
                    <input type="hidden" value="${entity.id}" name="id">

                    <%--目录的id--%>
                    <input type="hidden" value="${dic.id}" name="parentId">



                    <div class="form-group" style="margin-top: 10px;">
                        <label for="dic" class="col-sm-2 control-label">字典目录：</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" id="dic" name="dic" value="${dic.title}">
                        </div>
                    </div>
                    <div class="form-group" style="margin-top: 10px;">
                        <label for="title" class="col-sm-2 control-label">明细标题：</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" id="title" name="title" value="${entity.title}"
                                   placeholder="请输标题">
                        </div>
                    </div>
                    <div class="form-group" style="margin-top: 10px;">
                        <label for="sequence" class="col-sm-2 control-label">序号：</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" id="sequence" name="sequence" value="${entity.sequence}"
                                   placeholder="请输入序号">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-6">
                            <button id="submitBtn" type="submit" class="btn btn-primary">保存</button>
                            <button type="reset" class="btn btn-danger">重置</button>
                        </div>
                    </div>

                </form>

            </div>

        </section>
    </div>
    <%@include file="/WEB-INF/views/common/footer.jsp" %>
</div>


</body>
</html>

